#include <iostream>
using std::cout;
using std::endl;

int add(int x, int y){
    cout << "add(int,int)" << endl;
    return x + y;
}

int add(int x,int y,int z){
    cout << "add(int,int,int)" << endl;
    return x + y + z;
}

int add(long x,int y){
    cout << "add(long,int)" << endl;
    return x + y;
}

int add(int x,long y)
{
    cout << "add(int,long)" << endl;
    return x + y;
}

/* void add(int x,long y){ */

/* } */



void test0(){
    int a = 1,b = 2,c = 3;
    long d = 3;
    cout << add(a,b) << endl;
    cout << endl;
    cout << add(a,b,c) << endl;
    cout << endl;
    cout << add(d,c) << endl;
    cout << endl;
    cout << add(c,d) << endl;
}

int main(void){
    test0();
    return 0;
}
